package com.qr.bean.wmyw;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:25:47
 * 分离出查询实体
 */
@ApiModel(value = "qr_shop_class", description = "营业类目")
@TableName(value = "qr_shop_class")
public class QrShopClassView implements Serializable {
	@ApiModelProperty(value = "标识id")
	@TableId(type = IdType.AUTO,value = "class_id")
	@NotNull(message = "标识id不能为空")
	private Integer class_id;
	@ApiModelProperty(value = "名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "级别")
	@TableField(value="lvl")
	private Integer lvl;
	@ApiModelProperty(value = "上级id")
	@TableField(value="pid")
	private Integer pid;
	@ApiModelProperty(value = "频道:餐饮店=1 临售店=2")
	@TableField(value="channel")
	private Integer channel;

 
	public Integer getClass_id() {
		return class_id;
	}
	public void setClass_id(Integer class_id) {
		this.class_id = class_id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public Integer getLvl() {
		return lvl;
	}
	public void setLvl(Integer lvl) {
		this.lvl = lvl;
	}
 
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
 
	public Integer getChannel() {
		return channel;
	}
	public void setChannel(Integer channel) {
		this.channel = channel;
	}

}